package cuit.cx.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class IndexAct extends Activity implements OnClickListener{
    /** Called when the activity is first created. */
	
	private Button index_bn;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.index);
        
        findView();
        
    }
    
    private void findView(){
    	
    	index_bn = (Button) findViewById(R.id.index_BN);
    	index_bn.setOnClickListener(this);
    	
    }

	@Override
	public void onClick(View v) {
		
		switch (v.getId()) {
		case R.id.index_BN:
			Intent intent = new Intent(IndexAct.this, NavigationAct.class);
			startActivity(intent);
			break;

		default:
			break;
		}
		
	}
    
}